﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace PSE.Framework.Communication.Spb.Common
{
    public class SpbConfigurationSection : ConfigurationSection
    {
        [ConfigurationProperty("spbSessions", IsRequired = false)]
        [ConfigurationCollection(typeof(SpbSessionConfigurationElement), AddItemName = "session")]
        public ConfigurationCollection<SpbSessionConfigurationElement> SpbSessions
        {
            get
            {
                return (ConfigurationCollection<SpbSessionConfigurationElement>)this["spbSessions"];
            }
        }
    }
}
